package com.icloud.article.boot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.icloud.article.boot.dto.ArticleSensitiveAddDto;
import com.icloud.article.boot.dto.ArticleSensitivePageDto;
import com.icloud.article.boot.dto.ArticleSensitiveUpdateDto;
import com.icloud.article.boot.model.ArticleSensitive;
import com.icloud.article.boot.vo.ArticleSensitiveVo;
import com.icloud.common.web.vo.PageVO;

/**
 * 敏感词库 service
 */

public interface ArticleSensitiveService extends IService<ArticleSensitive> {

    PageVO<ArticleSensitiveVo> sensitivePage(ArticleSensitivePageDto dto);

    boolean add(ArticleSensitiveAddDto dto);

    boolean update(ArticleSensitiveUpdateDto dto);
}
